Markdown Table Formatter
Sublime Text 3 plugin for formatting markdown table (inspired by Atom's MarkdownTableFormatter)
Details
Installs
- Total 16K
- Win 6K
- Mac 6K
- Linux 3K
Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 1 | 1 | 0 | 2 | 3 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 1 | 2 | 0 | 1 | 0 | 2 | 0 | 1 | 0 | 4 | 0 | 3 | 0 | 0 | 0 | 1 | 2 | 2 | 0 | 0 | 3 | 0 | 0 | 0 | 2 | 0 | 0 | 0 |
Mac | 3 | 2 | 1 | 1 | 0 | 1 | 2 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 2 | 2 | 1 | 2 | 3 | 0 | 0 | 1 | 0 | 3 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | 2 | 0 | 0 | 0 |
Linux | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 2 | 1 | 1 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Markdown Table Formatter
Sublime Text 3 markdown plugin that offers table formatting.
Inspired by the Atom's version from fcrespo82 (Fernando).
markdowntableformatter[at]gmail[.]com
Usage
There are two basic ways of using this plugin. Select what you want to format and hit Ctrl+Alt+Shift+T or use the same shortcut without selection to format the entire document.
Configuration
{
// make plugin verbose in debug console
"verbose": false,
// scan document to format tables when saving
"autoformat_on_save": false,
// spaces between "|" and cell's text
"margin": 1,
// additional spaces before/after cell's text (depending on justification)
"padding": 0,
// how text should be justified when not specified [LEFT, RIGHT, CENTER]
"default_justification": "LEFT"
}
Proper formatting
To be recognised properly by the plugin, Markdown tables must not contain white space in the line that separate the table heading from the other table rows.
For example, the following works:
Error: language “md” is not supported
|:------------------|:---------------------|:-----------------|
This example will not work:
Error: language “md” is not supported
|:------------------| ---------------------|:-----------------|